package com.sleep.psy.external_server.business.psy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sleep.psy.external_server.business.psy.entity.PsySection;

import java.util.List;

/**
 * <p>
 * 提交分数详细表 服务类
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
public interface PsySectionService extends IService<PsySection> {

    /**
     * 通过报告id获取分数详细数据
     * @author wenliguo
     * @date 2025/6/9 14:13
     * @param reportId 报告id
     * @return java.util.List<com.sleep.psy.main_server.business2.evaluation.entity.PsySection>
     */
    List<PsySection> selectSectionByReportId(Long reportId);

    /**
     * 通过报告id和答题顺序正序获取详细信息
     * @author wenliguo
     * @date 2025/7/25 09:09
     * @param reportId 报告id
     * @return java.util.List<com.sleep.psy.main_server.business2.evaluation.entity.PsySection>
     */
    List<PsySection> selectSectionByReportIdAndSort(Long reportId);
}
